home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 818 b | 35 lines | [TEXT/GEOL] |
- Item 1770405 19-June-90 02:37PDT
-
- From: AUST0134 Jam Software Sydney,IVR
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: MBAR 129
-
- Dear MacAppers,
-
- According to the manual, MBAR 129 contains the resources of menus which are
- read in by MacApp, but not displayed, so the application can add them when
- required. I tried this with the following bit of code, but I get a nil
- MenuHandle:
-
- /*Rez:*/
- resource 'MBAR' (129) {
- {mReports}
- };
-
- (*Application code:*)
- rMenu := GetMHandle(mReports); {mReports is the same as for Rez}
- {at this point rMenu is NIL}
- MAInsertMenu(rMenu,0); {with a NIL MenuHandle - bombaroozo!}
-
-
- Does anyone know if this is supposed to work?
-
- Thanx,
-
- Tseung Cheung
- JAM Software Pty Ltd
- ALink AUST0134
-
-